package com.wkk.entity;

import java.util.List;

public class ChatRecord {
    private Integer crid;//记录唯一标识符
    private Integer uid;//发布者用户唯一标识符
    private String information;//朋友圈内容
    private String time;//发布时间
    private Integer likeCount;//点赞数
    private Integer commentCount;//评论数
    private Integer forwardCount;//转发数
    private Integer state;//状态(置顶，热度榜)

    private List<ChatRecordPicture> chatRedisPictures;//图片库
    private List<ChatComment> chatComments;//所有评论信息

    private Integer likeUid;//判断是否被当前用户点赞
    private Integer commentUid;//判断是否被当前用户评论

    private User user;//发表人详情

    public Integer getCrid() {
        return crid;
    }

    public void setCrid(Integer crid) {
        this.crid = crid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getInformation() {
        return information;
    }

    public void setInformation(String information) {
        this.information = information;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getForwardCount() {
        return forwardCount;
    }

    public void setForwardCount(Integer forwardCount) {
        this.forwardCount = forwardCount;
    }

    public List<ChatRecordPicture> getChatRedisPictures() {
        return chatRedisPictures;
    }

    public void setChatRedisPictures(List<ChatRecordPicture> chatRedisPictures) {
        this.chatRedisPictures = chatRedisPictures;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public List<ChatComment> getChatComments() {
        return chatComments;
    }

    public void setChatComments(List<ChatComment> chatComments) {
        this.chatComments = chatComments;
    }

    public Integer getLikeUid() {
        return likeUid;
    }

    public void setLikeUid(Integer likeUid) {
        this.likeUid = likeUid;
    }

    public Integer getCommentUid() {
        return commentUid;
    }

    public void setCommentUid(Integer commentUid) {
        this.commentUid = commentUid;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "ChatRecord{" +
                "crid=" + crid +
                ", uid=" + uid +
                ", information='" + information + '\'' +
                ", time='" + time + '\'' +
                ", likeCount=" + likeCount +
                ", commentCount=" + commentCount +
                ", forwardCount=" + forwardCount +
                ", state=" + state +
                ", chatRedisPictures=" + chatRedisPictures +
                ", chatComments=" + chatComments +
                ", likeUid=" + likeUid +
                ", commentUid=" + commentUid +
                ", user=" + user +
                '}';
    }
}
